package com.woniu.airent.service;

import com.github.pagehelper.PageInfo;
import com.woniu.airent.dto.MyHouseDto;

public interface MyHouseService {

    //分页查询
    PageInfo<MyHouseDto> findHouseColByPages(Integer userId,String selectHouseResource,Integer colSelectByPrice,Integer colSelectByDate,Integer colPageNum);

    //删除
    Integer  removeHouseColByColId(int colId);

    int insertHouseCollection(MyHouseDto myHouseCollectionDto);

    public Integer findHouseIsCollection(Integer userId,Integer houseId);

    void addCollect(Integer userId, Integer houseId);

    void removeMyCollection(Integer userId, Integer houseId);
}
